package com.justgame.project.service.api.entity;

import com.justgame.project.cloud.common.entity.BaseEntity;
import com.justgame.project.cloud.common.constant.Const;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
public class JustGameCompany extends BaseEntity {
    private final static long serialVersionUID = Const.V;

    /**
     * 厂商名称
     */
    @NotBlank
    @Length(max = 100)
    private String name;

    /**
     * logo图片地址
     */
    @URL
    @Length(max = 500)
    private String imageUrl;

    /**
     * （富文本）描述
     */
    private String description;

}
